/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package bpmlab.shift.dao.service;

import bpmlab.shift.dao.DAOException;
import java.util.List;

/**
 *
 * @author Mikael Lima
 * @param <T>
 */
public interface GenericDAO<T> {
    public void salvar(T o) throws DAOException;
    public void excluir(T o) throws DAOException;
    public T obter(Object id);
    public List<T> obterTodos();
}
